<?php
include("../include/config.inc.php");
include("userlogincheck.php");

$sql="select * from ".tableprefix."member where member_state='1' and member_id='$userid'";
$result=$db->query($sql);
$row=$db->fetch_array($result);
$db->free_result($result);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>设置-网演中国粤西平台</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=9,Chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="stylesheet" type="text/css" href="../css/public.css">
</head>

<body>
<div class="nav_guide">
	<ul>
		<a href="touxiang.php"><li class="nobg"><o></o>头像<span style="padding-right:15px;"><img src="<?php if($row["member_avatar"]==''){echo "../images/mobile_user_avatar.png";}else{echo $row["member_avatar"];}?>" style="width:30px;height:30px;margin-top:10px;margin-right:15px;border-radius:30px;"></span></li></a>
		<a href="nicheng.php"><li><o></o>账号昵称<span><?php echo $row["member_truename"];?></span></li></a>
		<a href="mobile.php"><li><o></o>绑定手机号<span><?php echo $row["member_mobile"];?></span></li></a>
		<!--<a href="javascript:void(0);"><li class="nobg"><o></o>绑定手机号<span style="padding-right:15px;">13360037291</span></li></a>
		<a href="shiming.php"><li><o></o>实名认证</li></a>-->
	</ul>
</div>

<!--<div class="nav_guide">
	<ul>
		<a href="address.php"><li><o></o>收件地址</li></a>
	</ul>
</div>-->

<div class="nav_guide">
	<ul>
		<a href="loginout.php" style="color:#FF0000;"><li class="nobg center">退出登陆</li></a>
	</ul>
</div>

<div id="bottom"></div>

<footer id="bar-fixed">
	<a href="../" class="tab-item"><i class="icon-tabbar bar-home"></i>首页</a>
	<a href="../category.php" class="tab-item"><i class="icon-tabbar bar-message"></i>分类</a>
	<a href="../publish/" class="tab-item"><i class="icon-tabbar bar-publish"></i>发布</a>	
	<a href="../user/" class="tab-item active"><i class="icon-tabbar bar-user2"></i>我</a>
</footer>
</body>
</html>